package com.yepit.translate;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author qianlong
 * @description //TODO
 * @Date 2019/4/20 9:34 AM
 **/
@SpringBootApplication
@ComponentScan({ "com.yepit.translate" })
@EnableCaching
@Configuration
@EnableAutoConfiguration
public class MainApplication {

    public static void main(String[] args) throws Exception {
        System.out.println("------------Application is start---------------");
        SpringApplication.run(MainApplication.class, args);
    }
}
